

export const tableOption = {
  height: 'auto',
  calcHeight: 'auto',
  searchShow: true,
  searchMenuSpan: 6,
  stripe: true,
  headerAlign: 'center',
  tip: false,
  tree: true,
  border: true,
  index: true,
  indexLabel: '序号',
  selection: true,
  align: 'center',
  addBtn: false,
  editBtn:false,
  column: [{
    label: '表名称',
    prop: 'tableName',
    align: 'center',
    search: true,
  }, {
    label: '表描述',
    prop: 'tableComment',
    align: 'center',
    search: true,
  }, {
    label: '实体',
    prop: 'className',
    align: 'center',

  }, {
    type: 'datetime',
    format: 'yyyy-MM-dd',
    label: '创建时间',
    prop: 'createTime',
    align: 'center'
  }]
}

export const formOption = {
  height: 'auto',
  searchShow: true,
  searchMenuSpan: 6,
  stripe: true,
  headerAlign: 'center',
  tip: false,
  tree: true,
  border: true,
  index: true,
  indexLabel: '序号',
  selection: true,
  align: 'center',
  menu:false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: '数据源',
      prop: 'dataSource',
      type: 'select',
      search: true,
      hide:true,
      dicData: [],
      props: {
        label: "pollName",
        value: "pollName"
      },
    },
    {
      label: '表名称',
      prop: 'tableName',
      disabled: true,
      search: true,
    },
    {
      label: '表描述',
      prop: 'tableComment',
      disabled: true
    }
  ]
}

